﻿@{
    ViewBag.Title = "Index"; 
}

<div class="layui-row layui-col-space15">
    <div class="layui-col-md8">
        <div class="fly-panel">
            <div class="fly-panel-title fly-filter">
                <a>置顶</a>
                <a href="#signin" class="layui-hide-sm layui-show-xs-block fly-right" id="LAY_goSignin" style="color: #FF5722;">去签到</a>
            </div>
            <ul class="fly-list">
                @{
                    for (int i = 0; i < 10; i++)
                    {
                        <li>
                            <a href="/Community/UserCenter/Home"class="fly-avatar">
                                <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">
                            </a>
                            <h2>
                                <a class="layui-badge">动态</a>
                                <a href="/Community/Discuss/Detail/@i">基于 layui 的极简社区页面模版 @i</a>
                            </h2>
                            <div class="fly-list-info">
                                <a href="/Community/UserCenter/Home" class="fly-link">
                                    <cite>WBS</cite>
                                    <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>
                                    <i class="layui-badge fly-badge-vip">VIP3</i>
                                </a>
                                <span>刚刚</span>

                                <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>
                                <span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>
                                <span class="fly-list-nums">
                                    <i class="iconfont icon-pinglun1" title="回答"></i> 66
                                </span>
                            </div>
                            <div class="fly-list-badge">
                                <!--
                                <span class="layui-badge layui-bg-black">置顶</span>
                                <span class="layui-badge layui-bg-red">精帖</span>
                                -->
                            </div>
                        </li>
                    }
                }
            </ul>
        </div>
        <div class="fly-panel" style="margin-bottom: 0;">

            @Html.Partial("_Filter")

            <ul class="fly-list">
                @{
                    for (int i = 0; i < 10; i++)
                    {
                        <li>
                            <a href="/Community/UserCenter/Home" class="fly-avatar">
                                <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" alt="贤心">
                            </a>
                            <h2>
                                <a class="layui-badge">分享</a>
                                <a href="/Community/Discuss/Detail">基于 layui 的极简社区页面模版</a>
                            </h2>
                            <div class="fly-list-info">
                                <a href="/Community/UserCenter/Home" class="fly-link">
                                    <cite>WBS</cite>
                                    <!--
                                    <i class="iconfont icon-renzheng" title="认证信息：XXX"></i>
                                    <i class="layui-badge fly-badge-vip">VIP3</i>
                                    -->
                                </a>
                                <span>刚刚</span>

                                <span class="fly-list-kiss layui-hide-xs" title="悬赏飞吻"><i class="iconfont icon-kiss"></i> 60</span>
                                <!--<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>-->
                                <span class="fly-list-nums">
                                    <i class="iconfont icon-pinglun1" title="回答"></i> 66
                                </span>
                            </div>
                            <div class="fly-list-badge">
                                <!--<span class="layui-badge layui-bg-red">精帖</span>-->
                            </div>
                        </li>
                    }
                }
            </ul>
            <div style="text-align: center">
                <div class="laypage-main">
                    <a href="/Community/Discuss/Page" class="laypage-next">更多求解</a>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-col-md4">
        <div class="fly-panel">
            <h3 class="fly-panel-title">温馨通道</h3>
            <ul class="fly-panel-main fly-list-static">
                @{
                    for (int i = 0; i < 10; i++)
                    {
                        <li>
                            <a href="http://fly.layui.com/jie/4281/" target="_blank">layui 的 GitHub 及 Gitee (码云) 仓库，欢迎Star</a>
                        </li>
                    }
                }
            </ul>
        </div>

        <div class="fly-panel fly-signin">
            <div class="fly-panel-title">
                签到
                <i class="fly-mid"></i>
                <a href="javascript:;" class="fly-link" id="LAY_signinHelp">说明</a>
                <i class="fly-mid"></i>
                <a href="javascript:;" class="fly-link" id="LAY_signinTop">活跃榜<span class="layui-badge-dot"></span></a>
                <span class="fly-signin-days">已连续签到<cite>16</cite>天</span>
            </div>
            <div class="fly-panel-main fly-signin-main">
                <button class="layui-btn layui-btn-danger" id="LAY_signin">今日签到</button>
                <span>可获得<cite>5</cite>飞吻</span>

                <!-- 已签到状态 -->
                <!--
                <button class="layui-btn layui-btn-disabled">今日已签到</button>
                <span>获得了<cite>20</cite>飞吻</span>
                -->
            </div>
        </div>
        <div class="fly-panel fly-rank fly-rank-reply" id="LAY_replyRank">
            <h3 class="fly-panel-title">回贴周榜</h3>
            <dl>
                <!--<i class="layui-icon fly-loading">&#xe63d;</i>-->

                @{
                    for (int i = 0; i < 10; i++)
                    {
                        <dd>
                            <a href="/Community/UserCenter/Home">
                                <img src="https://tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"><cite>贤心</cite><i>106次回答</i>
                            </a>
                        </dd>
                    }
                }

            </dl>
        </div>
        <dl class="fly-panel fly-list-one">
            <dt class="fly-panel-title">本周热议</dt>

            @{
                for (int i = 0; i < 10; i++)
                {
                    <dd>
                        <a href="/Community/Discuss/Detail">基于 layui 的极简社区页面模版</a>
                        <span><i class="iconfont icon-pinglun1"></i> 16</span>
                    </dd>
                }
            }

            <!-- 无数据时 -->
            <!--
            <div class="fly-none">没有相关数据</div>
            -->
        </dl>
        <div class="fly-panel">
            <div class="fly-panel-title">
                这里可作为广告区域
            </div>
            <div class="fly-panel-main">
                <a href="http://layim.layui.com/?from=fly" target="_blank" class="fly-zanzhu" time-limit="2017.09.25-2099.01.01" style="background-color: #5FB878;">LayIM 3.0 - layui 旗舰之作</a>
            </div>
        </div>

        <div class="fly-panel fly-link">
            <h3 class="fly-panel-title">友情链接</h3>
            <dl class="fly-panel-main">
                <dd><a href="http://www.layui.com/" target="_blank">layui</a>
                <dd>
                <dd><a href="http://layim.layui.com/" target="_blank">WebIM</a>
                <dd>
                <dd><a href="http://layer.layui.com/" target="_blank">layer</a>
                <dd>
                <dd><a href="http://www.layui.com/laydate/" target="_blank">layDate</a>
                <dd>
                <dd><a href="mailto:xianxin@layui-inc.com?subject=%E7%94%B3%E8%AF%B7Fly%E7%A4%BE%E5%8C%BA%E5%8F%8B%E9%93%BE" class="fly-link">申请友链</a>
                <dd>
            </dl>
        </div>
    </div>
</div>

@Html.Partial("_JavaScriptSrc")

<script>

    layui.config({
        version: "3.0.0"
        , base: '/lib/fly/mods/' //这里实际使用时，建议改成绝对路径
    }).extend({
        fly: 'index'
    });
</script>

